import request from '@/plugin/axios'

export function getAllLicenseApplication(data) {
    return request({
        // url: '/getAllLicenseApplication',
        url: '/admin/license',
        method: 'get',
        params: data
    })
}
export function getUnprocessedLicenseApplication(data) {
    return request({
        // url: '/getUnprocessedLicenseApplication',
        url: '/admin/license/filter',
        method: 'get',
        params: data
    })
}
export function searchByBrandNumber(data) {
    return request({
        // url: '/searchByBrandNumber',
        url: '/admin/license',
        method: 'post',
        params: data
    })
}
export function getLicenseInfo(data) {
    return request({
        // url: '/getLicenseInfo',
        url: '/admin/license/' + data,
        method: 'get',
        data
    })
}
export function checkLicense(data) {
    return request({
        url: '/admin/checkLicense',
        method: 'post',
        params: data
    })
}